package com.yun.zf.app;

import com.cxytiandi.encrypt.springboot.annotation.EnableEncrypt;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@Configuration
@EnableTransactionManagement
@ComponentScan(basePackages ={"com.yun.zf"})
@MapperScan(basePackages = {"com.yun.zf.app.mapper","com.yun.zf.system.mapper","com.yun.zf.quartz.mapper","com.yun.zf.search.mapper"})
@EnableEncrypt
@EnableCaching
public class ZfAppApplication {

    public static void main(String[] args) {

        SpringApplication.run(ZfAppApplication.class, args);
    }

}
